package com.hand.test.mapper;/**
 * @author Estelle@앙수청
 * @date 2019/7/20 9:23
 */

import com.hand.test.domain.Matter;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *  @author Estelle@앙수청
 *  @date 2019/7/20 9:23
 */
@Mapper
public interface MatterMapper {

    List<Matter> queryAllMatter();

    Matter queryMatterById(@Param("id") Integer id);

    Integer addMatter(Matter matter);

    void updateMatter(Matter matter);

    void deleteMatter(@Param("id") Integer id);
}
